In fact, drawing up the list becomes a way of avoiding the work itself.
事实上,列出清单成为了一种对工作逃避方式本身。
For example, suppose you are programming a game and for this game, you maintain a list of every drawable object and have the drawing thread running independently of the game thread.
例如,假定您正在编写一个游戏程序,并为每一个可移动对象维护了一个列表,与此同时,还运行着与游戏线程无关的可移动线程。
What you are drawing will simply be a sublist of the new objects list.
您正在移动的对象只是新列表的一个子列表。
应用推荐